//
//  HJDefaultCenterView.h
//  newOcWeibo
//
//  Created by heJing on 15/7/27.
//  Copyright © 2015年 heima. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HJDefaultCenterView;

@protocol HJDefaultCenterViewDelegate <NSObject>

- (void)defaultCenterView:(HJDefaultCenterView *)defaultCenterView loginButton:(UIButton *)button;
- (void)defaultCenterView:(HJDefaultCenterView *)defaultCenterView registerButton:(UIButton *)button;

@end

@interface HJDefaultCenterView : UIView

/**
 *  图标名称
 */
@property (nonatomic ,strong) NSString *iconImageName;
/**
 *  描述信息
 */
@property (nonatomic ,strong) NSString *infoStr;

//是否显示后面的图标背景
@property (nonatomic, assign) BOOL show;

// 代理
@property (nonatomic, weak) id<HJDefaultCenterViewDelegate> delegate;


// 快速创建 HJDefaultCenterView
+ (instancetype)defaultCenterView;


// 背景转动
- (void)startRotate;
// 北京停止
- (void)stopRotate;
@end
